﻿#include "Mypriority_queue.h"

int main()
{
	Ysz::priority_queue<int,vector<int>,greater<int>> q;
	//Ysz::priority_queue<int> q;

	q.push(6);
	q.push(1);
	q.push(0);
	q.push(23);
	q.push(8);
	q.push(10);
	int n = q.size();
	for (size_t i = 0; i < n; i++)
	{
		cout << q.top() << endl;
		q.pop();
	}



	//cout << q.empty();
	return 0;
}
